package com.jt.demo10.mapper;

import com.jt.demo10.pojo.User;
import org.springframework.stereotype.Repository;

//@Component //Spring管理 key:userMaapperImpl value:反射机制
@Repository//和@Component一样,表明是持久层
public class UserMpperImpl implements UserMpper {

    @Override
    public void addUser(User user) {
        System.out.println("完成用户的入库操作"+user.getName());
    }
}
